const config = {
	mapOptions: {
		center: [24.46667, 118.1],
		zoom: 8,
		zoomSnap: 1,
		tap: false,
		doubleClickZoom: false,
		zoomControl: false,
		attributionControl: false, // 去除leaflet脚标
		maxZoom: 17,
		minZoom: 0
	},

	//默认选中地图提供商组id
	defalutProviderGroupId: 'TianDiTu_IMG_WMTS',

	//地图提供商组，providers为L.TileLayer.Provider.providers中的对象
	providerGroups: {
		TX_VEC: {
			name: '图讯矢量图',
			providers: [
				'TX_VEC_WOrld',
				'TX_VEC_CHIAN_LAND',
				'TX_VEC_CHINA',
				'TX_VEC_C',
				'TX_VEC_X',
				'TX_VEC_T',
				'TX_CVA_C',
				'TX_CVA_X',
				'TX_CVA_T'
			],
			options: {
				origin: 'http://192.168.165.47:8080' //代理地址
				// className: 'm-tile'
			}
		},
		TX_VEC_DARK: {
			name: '图讯矢量图-暗色',
			providers: ['TX_VEC_DARK']
		},
		TianDiTu_VEC_WMTS: {
			name: '国家天地图-矢量-WMTS',
			providers: ['TianDiTu_VEC_WMTS', 'TianDiTu_CVA_WMTS']
		},
		TianDiTu_IMG_WMTS: {
			name: '国家天地图-影像-WMTS',
			providers: ['TianDiTu_IMG_WMTS', 'TianDiTu_CIA_WMTS']
		},

		TianDiTu_VEC: {
			name: '国家天地图-矢量',
			providers: ['TianDiTu_VEC', 'TianDiTu_CVA']
		},
		TianDiTu_IMG: {
			name: '国家天地图-影像',
			providers: ['TianDiTu_IMG', 'TianDiTu_CIA']
		},
		TianDiTu_TER: {
			name: '国家天地图-地形',
			providers: ['TianDiTu_TER', 'TianDiTu_CTA']
		},
		GaoDe_VEC: {
			name: '高德地图-矢量',
			providers: ['GaoDe_VEC']
		},
		GaoDe_IMG: {
			name: '高德地图-影像',
			providers: ['GaoDe_IMG', 'GaoDe_CIA']
		},
		Baidu_VEC: {
			name: '百度地图-矢量',
			providers: ['Baidu_VEC_NEW']
		},
		Baidu_IMG: {
			name: '百度地图-影像',
			providers: ['Baidu_IMG', 'Baidu_CIA']
		},
		Tencent_VEC: {
			name: '腾讯地图-矢量',
			providers: ['Tencent_VEC']
		},
		Tencent_Dark: {
			name: '腾讯地图-暗色',
			providers: ['Tencent_Dark']
		},
		Tencent_IMG: {
			name: '腾讯地图-影像',
			providers: ['Tencent_IMG']
		},
		Tencent_TER: {
			name: '腾讯地图-地形',
			providers: ['Tencent_TER']
		},
		Geoq_VEC: {
			name: 'Geoq-ArcGIS-矢量',
			providers: ['Geoq_VEC']
		},
		Geoq_PurplishBlue: {
			name: 'Geoq-ArcGIS-深蓝',
			providers: ['Geoq_PurplishBlue']
		},
		Geoq_Gray: {
			name: 'Geoq-ArcGIS-灰',
			providers: ['Geoq_Gray']
		},
		Geoq_Hydro: {
			name: 'Geoq-ArcGIS-蓝白',
			providers: ['Geoq_Hydro']
		}
	}
}
export default config
